﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace FANUC.DTO
{
    public class AlarmRecordDTO
    {
        public int ID { get; set; }
        public string Robot_YH_No { get; set; }
        public string Alarm_Code { get; set; }
        public string Alarm_Message { get; set; }
        public string Alarm_Severity { get; set; }
        public string Alarm_Cause { get; set; }
        public DateTime Time { get; set; }
    }

    public class AlarmSearchDtoIn
    {
        public string Robot_YH_No { get; set; }
        public string Alarm_Code { get; set; }
        public string Alarm_Message { get; set; }
        public string Alarm_Severity { get; set; }
        public string Alarm_Cause { get; set; }
        public DateTime? StartTime { get; set; }
        public DateTime? EndTime { get; set; }

        public int PageIndex { get; set; }
        public int PageSize { get; set; }
    }

    public class AlarmHistoryDtoOut
    {
        public string Robot_YH_No { get; set; }
        public List<AlarmRecordDTO> AlarmRecords { get; set; }
    }
}